package com.isoft.c2team3service2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 敏感词实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sensitive_word")
public class SensitiveWord implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String word;         // 敏感词
    private Integer level;       // 敏感级别(1-低级, 2-中级, 3-高级)
    private Integer status;      // 状态(0-禁用, 1-启用)
}